<template>
  <web-view :src="url" />
</template>

<script lang="ts">
import Taro, { getCurrentInstance } from "@tarojs/taro";

export default {
  name: "Index",
  components: {},
  data() {
    return {
      url: "",
    };
  },
  methods: {},
  mounted() {},
  onReady() {
    let params = getCurrentInstance().router.params;
    this.url = params.url;
    // let title = params.t;
    // if (title) {
    //   Taro.setNavigationBarTitle({
    //     title,
    //   });
    // }
  },
  onShow() {},
  onHide() {},
};
</script>

<style lang="scss"></style>
